import { formatPermission } from '@/router/format'

export const storeUserListRoutes = {
  path: '/merchant/operation/user/index',
  name: 'storeOperationUserIndex',
  component: () => import(/* webpackChunkName: "operation-user" */ '@/views/operation/user/list'),
  meta: {
    title: '用户列表',
    icon: 'el-icon-s-custom'
  },
  permission: ['/merchant/operation/user/list'],
  redirect: '/merchant/operation/user/list',
  children: [
    {
      path: '/merchant/operation/user/list',
      name: 'storeOperationUserList',
      component: () => import(/* webpackChunkName: "operation-user" */ '@/views/operation/user/list'),
      meta: {
        title: '用户列表',
      },
    }
  ],
}
